home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _E7F5199D12564445BAA1F64D210D7331 < prev    next >
Encoding:
Text File  |  2004-03-24  |  710 b   |  38 lines

  1. shader()
  2. {
  3.     cull("none")
  4.     sortweight("sprite")
  5.  
  6.     pass()
  7.     {
  8.         pixelshader("hatch.psh")
  9.  
  10.         tmu()
  11.         {
  12.             texture()
  13.             {
  14.                 mapchannel(0)
  15.                 usermap(0)
  16.  
  17.                 addressfunc("clamp", "clamp", "clamp")
  18.                 filtering("linear_no_mip")
  19.             }
  20.         }
  21.  
  22.         tmu()
  23.         {
  24.             TexMod("scale", "const", 10, 0, 0, "const", 10, 0, 0)
  25.             //TexMod("translate", "lin", 0, 5, 0, "lin", 0, 5, 0)
  26.             texture()
  27.             {
  28.                 Image("hatch.dds")
  29.                 filtering("linear_no_mip")
  30.             }
  31.         }
  32.  
  33.         depthfunc("always", 0)
  34.         nofog()
  35.     }
  36. }
  37.  
  38.